﻿namespace FFF.Test.Entity.Demo.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.Demo.View;       

	/// <summary>
    /// 学院表(树)展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(DemoSchoolTeEntity))] 
    public partial class DemoSchoolTeDto :  BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolTeName")]
		[StringLength(512)]
        public string SchoolTeName { get; set; }
        
    }
    
    /// <summary>
    /// 学院表(树)新增时候的dto
    /// </summary>
	[AutoMap(typeof(DemoSchoolTeEntity))]
    [AutoMapFrom(typeof(ViewDemoSchoolTe))] 
    public partial class DemoSchoolTeCreateInputDto : BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolTeName")]
		[StringLength(512)]
        public string SchoolTeName { get; set; }
        
    }
     
     /// <summary>
    /// 学院表(树)更新时候Dto
    /// </summary>
	[AutoMap(typeof(DemoSchoolTeEntity))]
    [AutoMapFrom(typeof(ViewDemoSchoolTe))] 
    public partial class DemoSchoolTeUpdateInputDto : BaseTreeEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolTeName")]
		[StringLength(512)]
        public string SchoolTeName { get; set; }
        
    }
}
